<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./node_modules/react/umd/react.development.js"></script>
    <script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
    <script src="./node_modules/babel-standalone/babel.js"></script>
    <style>
        .abc {
            color: red;
        }
    </style>
</head>
<body>
    <div id="app"></div>

    <!-- 模板的练习： 
        1. 输出 100 * 10 的结果
        2. (100 > 5) && (5 < 7) = ?
        3. (3 > 2) ? '3 > 2' : 3 < 2 = ?

     -->
    <script type="text/babel">

        ReactDOM.render(
            <div>
                <p>100 * 10 = {100*10}</p>
                <p>(100 &gt; 5) &amp;&amp; (75 &lt; 7) = {(100 > 5) && (5 < 7).toString()}</p>
                <p>(3 &gt; 2) ? '3 &gt; 2' : 3 &lt; 2 = {(3 > 2) ? '3 > 2' : '3 < 2'}</p>
            </div>,
            document.getElementById('app')
            
        );
    </script>

</body>
</html>